package ui;

import java.awt.GridLayout;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class TitleScreen extends JPanel{
	
	private JButton startButton;
	
	public TitleScreen(ActionListener start){
		setLayout(new GridLayout(4,1));
		startButton = new JButton("Start game");
		startButton.addActionListener(start);
		startButton.setFocusable(false);
		add(new JLabel("This is the title screen of nebu", JLabel.CENTER));
		add(startButton);
	}
	
	
}
